package com.young.eventcoach.coach;

import com.young.eventcoach.main.CommandBoard;
import com.young.eventcoach.network.NetworkRequest;
import com.young.eventcoach.upload.UploadParser;

public class EventCoachTaggingRequest extends NetworkRequest {
//	private static final String EVENT_COACH_TAGGING1_REQUEST_URL = CommandBoard.BASE_URL + "/EventTag1Update?tagging=%d";
//	private static final String EVENT_COACH_TAGGING2_REQUEST_URL = CommandBoard.BASE_URL + "/EventTag2Update?tagging=%d";
//	private static final String EVENT_COACH_TAGGING3_REQUEST_URL = CommandBoard.BASE_URL + "/EventTag3Update?tagging=%d";
//	private static final String EVENT_COACH_TAGGING4_REQUEST_URL = CommandBoard.BASE_URL + "/EventTag4Update?tagging=%d";
//	private static final String EVENT_COACH_TAGGING5_REQUEST_URL = CommandBoard.BASE_URL + "/EventTag5Update?tagging=%d";
	
	private static final String EVENT_COACH_TAGGING_REQUEST_URL = 
			CommandBoard.BASE_URL + "/EventTag1Update?tag1=%d&tag2=%d&tag3=%d&tag4=%d&tag5=%d";

	public EventCoachTaggingRequest() {}
	
	public EventCoachTaggingRequest(int question ,int tagging) {
		this.parser = new UploadParser();
		this.urlString = String.format(EVENT_COACH_TAGGING_REQUEST_URL, tagging);
		
//		switch(question){
//		case CommandBoard.EVENT_COACH_QUESTION_1:
//			this.urlString = String.format(EVENT_COACH_TAGGING1_REQUEST_URL, tagging);
//			break;
//		case CommandBoard.EVENT_COACH_QUESTION_2:
//			this.urlString = String.format(EVENT_COACH_TAGGING2_REQUEST_URL, tagging);
//			break;
//		case CommandBoard.EVENT_COACH_QUESTION_3:
//			this.urlString = String.format(EVENT_COACH_TAGGING3_REQUEST_URL, tagging);
//			break;
//		case CommandBoard.EVENT_COACH_QUESTION_4:
//			this.urlString = String.format(EVENT_COACH_TAGGING4_REQUEST_URL, tagging);
//			break;
//		case CommandBoard.EVENT_COACH_QUESTION_5:
//			this.urlString = String.format(EVENT_COACH_TAGGING5_REQUEST_URL, tagging);
//			break;
//		default:
//			break;
//		}
	}
}
